package com.mt.api.modules.domain;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.io.Serializable;

/**
 * @Author: plover
 * @Date: 2022-05-04
 * @Description:
 */
@TableName("es_instore")
@Data
public class Instore implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 入库单号
     */
    private String instoreNo;
    /**
     * 库存数量
     */
    private Integer qty;
    /**
     * 入库类型 1-采购单 2-采购退货入库
     */
    private Integer type;
    /**
     * 采购时间
     */
    private Date instoreTime;

    @ApiModelProperty(value = "入库备注")
    private String remark;

    @ApiModelProperty(value = "状态 1-正常 9-撤销")
    private Integer status;
    /**
     * 创建人id
     */
    @TableField(fill = FieldFill.INSERT)
    private Integer createId;

    @TableField(fill = FieldFill.INSERT)
    private String creator;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateId;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updater;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    /**
     * 逻辑删除 0-否 1-是
     */
    private Integer deleted;
}